Release 10.1A: OpenEdge Development:
ProDataSets
Summary
The examples showed several ways to use the ProDataSet to read data flexibly and efficiently:
- Doing successive fills, starting with header information and filling in detail when needed, can be much more efficient than initially filling a ProDataSet with a large amount of data that the user might never need to look at.
- You can populate a portion of a ProDataSet by deactivating relations or setting the
FILL-MODEof one or more tables to “NO-FILL.”- You can refresh data on the client by deleting the rows to be refreshed and then requesting new data from the server.
- You can use the
OUTPUTAPPENDparameter mode to add data to a ProDataSet in multiple requests.- Alternatively, you can use a second ProDataSet as a parameter and then use the
COPY-DATASETmethod to combine data from multiple fills more flexibly.In the next chapter, we’ll move on to giving an example of how to batch large amounts of data from server to client.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |